<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <div>
    <form action="/cba">
      您的爱好:
      <label for="basketball">
        <!-- checked默认选中 -->
        <input type="checkbox" id="basketball" name="hobby" value="basketball" checked>篮球
      </label>
      <label for="football">
        <input type="checkbox" id="football" name="hobby" value="football">足球
      </label>
      <input type="submit">
    </form>
  </div>

</body>

</html>